package org.batatasframework.support.charts.bootstrap;

/**
 * <pre>
 * 提供一些默认的颜色选项，可以方便使用者直接给值，而不需要定义太多的值
 * </pre>
 * @author jackson
 *
 */
public class ChartColor {
	
	public final static ChartColor light_blue = new ChartColor("rgba(151,187,205,0.5)", "rgba(151,187,205,1)");
	public final static ChartColor light_blue_point = new ChartColor("rgba(151,187,205,1)", "#fff");

	public final static ChartColor light_gray = new ChartColor("rgba(220,220,220,0.5)", "rgba(220,220,220,1)");
	public final static ChartColor light_gray_point = new ChartColor("rgba(220,220,220,1)", "#fff");

	/** 主体的颜色 */
	private final String color;
	
	/** 边界线的颜色值 */
	private final String stroke;

	public ChartColor(String color, String stroke) {
		this.color = color;
		this.stroke = stroke;
	}

	public String getColor() {
		return color;
	}

	public String getStroke() {
		return stroke;
	}
}
